﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Bitirme.DAL.Entities
{
    public class Assignment
    {
        private int _ID;
        private WorkPackage _WorkPackage;
        private Employee _Employee;
        private DateTime _StartDate;
        private DateTime _EndDate;
        private float _HourPerDay;

        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        public WorkPackage WorkPackage
        {
            get { return _WorkPackage; }
            set { _WorkPackage = value; }
        }
        public Employee Employee
        {
            get { return _Employee; }
            set { _Employee = value; }
        }
        public DateTime StartDate
        {
            get { return _StartDate; }
            set { _StartDate = value; }
        }
        public DateTime EndDate
        {
            get { return _EndDate; }
            set { _EndDate = value; }
        }
        public float HourPerDay
        {
            get { return _HourPerDay; }
            set { _HourPerDay = value; }
        }
        public Assignment() { 
           
            this._ID=-1;
            this._WorkPackage = new WorkPackage();
            this._Employee = new Employee();
            this._StartDate = new DateTime();
            this._EndDate = new DateTime();
            this._HourPerDay=-1;
        
        
        }
    }
}